export default class Sky {
    constructor(gl) {
        this.gl = gl;
        this.children = [];
        this.Nodes = [];
    }
    add(obj) {
        this.children.push(obj);
    }
    updateVertices(params) {
        this.children.forEach(elem => {
            elem.updateVertices(params);
        })
    }
    draw(...params) {
        this.children.forEach(elem => {
            elem.init();
            elem.draw(...params);
        })
    }
}
